package com.device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.device.domain.dto.CabinetDto;
import com.device.domain.entity.Cabinet;
import com.device.domain.vo.CabinetSlotBankVo;
import com.device.domain.vo.CabinetVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CabinetMapper extends BaseMapper<Cabinet> {
    /**
     * 柜机查询
     * @param cabinetDto
     * @return
     */
    List<CabinetVo> selectCabinetList(CabinetDto cabinetDto);

    /**
     * 柜机详情
     * @param id
     * @return
     */
    List<CabinetSlotBankVo> getCabinet(@Param("id") Integer id);
}
